package com.kzj.mls.recyclerCard.card;

import android.content.Context;

import com.kzj.mls.R;


public class TextCard extends ExtendedCard {
    private int background;
    private int textSize;
    private int height;
    private int width;
    private int textColor;
    private String text;
    private int gravity = -1;

    public int getGravity() {
        return gravity;
    }

    public void setGravity(int gravity) {
        this.gravity = gravity;
    }

    public TextCard(Context context) {
        super(context);
    }

    public int getBackground() {
        return background;
    }

    public void setBackground(int background) {
        this.background = background;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public int getTextSize() {
        return textSize;
    }

    public void setTextSize(int textSize) {
        this.textSize = textSize;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getTextColor() {
        return textColor;
    }

    public void setTextColor(int textColor) {
        this.textColor = textColor;
    }

    @Override
    public int getLayout() {
        return R.layout.card_text;
    }

}
